package com.indeep.user.feign.rollback;

import com.indeep.common.result.JsonResult;
import com.indeep.user.dto.feign.UserPostsDetailDTO;
import com.indeep.user.feign.CommunityFeignClient;
import com.indeep.user.mapper.po.IdNameImageUrlIsNewCPO;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class CommunityFeignClientBack implements CommunityFeignClient {

    @Override
    public JsonResult<UserPostsDetailDTO> queryCurrentUserPostsDetail(Long id) {
        return new JsonResult<>().error();
    }

    @Override
    public JsonResult<List<IdNameImageUrlIsNewCPO>> queryUserFollowCommunity(Long userId) {
        return new JsonResult<>().error();
    }
}
